/*
 * Copyright [2020] [MaxKey of copyright http://www.maxkey.top]
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 

package org.dromara.maxkey.constants;

public class ConstsLoginType {

    public static final String LOCAL             = "Local Login";
    
    public static final String BASIC             = "Basic";
    
    public static final String SOCIALSIGNON     = "Social Sign On";
    
    public static final String REMEBER_ME         = "RemeberMe";
    
    public static final String DESKTOP             = "Desktop";
    
    public static final String KERBEROS         = "Kerberos";
    
    public static final String SAMLTRUST         = "SAML v2.0 Trust";
    
    public static final String MSADTRUST         = "MS AD Trust";
    
    public static final String CAS                 = "CAS";
    
    public static final String WSFEDERATION     = "WsFederation";

    public static final String JWT                 = "Jwt";

    public static final String HTTPHEADER         = "HttpHeader";

    
    public static final class TwoFactor{
        /**
         * 1=TOTP(动态验证码)  
         */
        public static final String TWO_FACTOR_TOTP         = "TwoFactorTotp";
        /**
         * 2=邮箱验证码
         */
        public static final String TWO_FACTOR_EMAIL     = "TwoFactorEmail";
        /**
         * 3=手机短信
         */
        public static final String TWO_FACTOR_MOBILE     = "TwoFactorMobile";
    }
}
